:root {
    --primary-bg: #27a39b;
    /* --navbar-bg: #1f7e77; */
    --text-white: #ffffff;
    --text-dark: #0a3442;
    --text-muted: #666;
    --text-hover: #dcdcdc;
    --gradient-start: #d95eff;
    --gradient-end: #5e8bff;
    --heading-color: #0A3442;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --bg-light: #eafaf8;
    --card-bg: linear-gradient(180deg, #dff6f3, #038378);
    --radius: 20px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Zain', sans-serif;
  }
  
  body {
    background-color: #ffffff;
    direction: rtl;
  }
  
  .hero {
    /* background-color: var(--primary-bg); */
    padding: 20px;
    color: var(--text-white);
  }
  
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .logo {
    height: 50px;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar .nav-links li a {
    color: #093443; 
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
  }
  
 
  
  .nav-links li a:hover {
    color: #33A5A0 ;
  }
  
  
  .nav-links li a:hover {
    color: #33A5A0;
    text-decoration: none; 
    border-bottom: none;   
  }
  
  .menu-toggle {
    display: none;
    font-size: 38px;
    background: none;
    color: var(--heading-color);
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 101;
  }
  
  .cta-button {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    color: var(--text-white);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background: white !important;
    color: var(--gradient-start);
    border: 1px solid var(--gradient-start);
  }
  
  
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    flex-wrap: wrap;
  }
  
  .hero-text {
    color: var(--text-white);
    max-width: 40%;
  }
  
  .hero-text h1 {
    color: var(--heading-color);
    font-size: 3.5rem;
    margin-bottom: 10px;
  }
  
  .hero-text p {
    font-size: 1.5rem;
    line-height: 1.8;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .hero-image {
    margin-top: 0;
    padding: 0;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
      position: relative;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: var(--navbar-bg);
      width: 100%;
      padding: 15px 20px;
      border-radius: 8px;
      box-shadow: 0 4px 10px var(--shadow-color);
      margin-top: 10px;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .nav-links li {
      margin: 10px 0;
    }
  
    .cta-button {
      margin-top: 10px;
      align-self: center;
      font-size: 1rem;
      width: 50%;
      text-align: center;
      padding: 12px;
      border-radius: 15px;
    }
  }
  .method-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--primary-bg);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
    margin: 40px auto 20px;
    max-width: 1300px;
    height: 140px;
    color: var(--text-white);
    text-align: center;
    margin-top: 45px; /* أو أي قيمة تعجبك */
  
  }
  
  .method-header h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-white);
  }
  
  .method-header img {
    width: 50px;
    height: 50px;
  }
  
  
  @media (max-width: 991px) {
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
  
    .hero-text, .hero-image {
      max-width: 100%;
    }
  
    .nav-links {
      flex-wrap: wrap;
      justify-content: center;
      margin: 10px 0;
    }
  
    .cta-button {
      margin-top: 10px;
    }
  }


  .method-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* مسافة بين الخطوات */
  }
  
  /* تنسيق كل خطوة */
  .method-step {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    direction: rtl; /* عشان المحتوى يبدأ من اليمين */
  }
  
  /* النص */
  .step-text {
    flex: 1;
    text-align: right;
    color: #0A3442;
  }
  
  .step-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .step-text p {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .highlight {
    /* color: #ff8c00; */
    font-weight: bold;
  }
  
  /* .yellow {
    color: #ffaa00;
    font-weight: bold;
  } */
  
  .note {
    color: #093443;
    font-size: 20px;
    margin-top: 10px;
    font-weight: 700;
  }
  
  .next-btn {
    margin-top: 20px;
    padding: 8px 20px;
    background-color: #0a3442;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  
  /* الصورة */
  .step-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }
  
  .image-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px; /* المسافة بين الصورتين */
  }
  
  .image-stack img {
    width: 500px;
    height: auto;
     border: 1px black ;
    
    object-fit: contain;
  }
  
  /* لعكس الاتجاه لو احتجتي */
  .method-step.reverse {
    flex-direction: row-reverse;
  }

  .next-btn{
    color: #33A5A0;
    border: 2px #33A5A0 solid; 
    border-radius: 9; 
    background-color: white ;
    /* gap: 10px; */
    transition: all 0.3s ease;

  }
  .next-btn:hover {
    background-color: #093443;
    color: white;
    border-color: #093443;
    background-color: #093443;
  }

  .method-step2 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    direction: rtl; /* تخلي الكلام يبدأ من اليمين */
  }
  
  .step2-text {
    flex: 1;
    text-align: right;
  }
  
  .step2-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .step2-text p {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .step-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }
  
  .image-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px; /* المسافة بين الصور داخل stack */
  }
  
  .image-stack img {
    max-width: 100%;
    height: auto;
     border: 1px black solid;
  }


  .method-step3 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    direction: rtl; /* يخلي النص يبتدي من اليمين */
  }
  
  .step3-text {
    flex: 1;
    text-align: right;
  }
  
  .step3-text h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .step3-text p {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .step-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
  }
  
  .image-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  
  .image-stack img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .method-step4 {
    display: flex;
    align-items: flex-start; /* يخلي كل العناصر تبدأ من فوق */
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
  }
  
  .step4-text {
    flex: 1;
    text-align: right;
  }
  
  .step-image {
    flex: 1;
  }
  
  .step-image img {
    
    height: auto;
    display: block;
  }

  .method5-step {
    display: flex;
    align-items: flex-start; /* يخلي العناصر تبدأ من فوق */
    justify-content: space-between;
    gap: 20px;
    direction: rtl;
    padding: 20px;
    flex-wrap: wrap; /* يخلي العناصر تنزل تحت بعض لو الشاشة ضيقة */
  }
  
  .step5-text {
    flex: 1;
    text-align: right;
  }
  
  .step5-text h3 {
    margin-bottom: 10px;
  }
  
  .step5-text p {
    margin-bottom: 20px;
  }
  
  .step-image {
    flex: 1;
  }
  
  .step-image img {
     
    height: auto;
    display: block;
  }


  .method6-step {
    display: flex;
    align-items: flex-start; /* يخلي العناصر تبدأ من فوق */
    justify-content: space-between;
    gap: 20px;
    direction: rtl;
    padding: 20px;
    flex-wrap: wrap; /* يخلي العناصر تنزل تحت بعض لو الشاشة ضيقة */
  }
  
  .step6-text {
    flex: 1;
    text-align: right;
  }
  
  .step6-text h3 {
    margin-bottom: 10px;
  }
  
  .step6-text p {
    margin-bottom: 20px;
  }
  
  .step-image {
    flex: 1;
  }
  
  .step-image img {
     
    height: auto;
    display: block;
  }




  .method7-step {
    display: flex;
    align-items: flex-start; /* يخلي العناصر تبدأ من فوق */
    justify-content: space-between;
    gap: 20px;
    direction: rtl;
    padding: 20px;
    flex-wrap: wrap; /* يخلي العناصر تنزل تحت بعض لو الشاشة ضيقة */
  }
  
  .step7-text {
    flex: 1;
    text-align: right;
  }
  
  .step7-text h3 {
    margin-bottom: 10px;
  }
  
  .step7-text p {
    margin-bottom: 20px;
  }
  
  .step-image {
    flex: 1;
  }
  
  .step-image img {
     
    height: auto;
    display: block;
  }


  
  .method8-step {
    display: flex;
    align-items: flex-start; /* يخلي العناصر تبدأ من فوق */
    justify-content: space-between;
    gap: 20px;
    direction: rtl;
    padding: 20px;
    flex-wrap: wrap; /* يخلي العناصر تنزل تحت بعض لو الشاشة ضيقة */
  }
  
  .step8-text {
    flex: 1;
    text-align: right;
  }
  
  .step8-text h3 {
    margin-bottom: 10px;
  }
  
  .step8-text p {
    margin-bottom: 20px;
  }
  
  .step-image {
    flex: 1;
  }
  
  .step-image img {
     
    height: auto;
    display: block;
  }
  
  









   /* Footer */
   footer {
    width: 100%;
    background-color: #0e3e46;
    color: white;
    padding: 40px 0 0;
    box-sizing: border-box;
  }
  
  .footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
  }
  
  .footer-column {
    flex: 1 1 200px;
    min-width: 220px;
  }
  
  .footer-column h3 {
    color: #3db8a9;
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .footer-column p,
  .footer-column a {
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
  }
  
  .footer-column a:hover {
    text-decoration: none;
    color: orange;
  }
  
  .footer-logo-text {
    font-size: 0.95rem;
  }
  
  .section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }
  
  .section .icon {
    width: 80px;
    height: 80px;
  }
  
  .social-icons img {
    width: 30px;
    height: 30px;
  }
  
  .footer-bottom {
    background-color: #36b7a9;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }
  
  .footer-left, .footer-right {
    display: flex;
    align-items: center;
  }
  
  .footer-left {
    justify-content: flex-start;
  }
  
  .footer-right {
    justify-content: flex-end;
  }
  
  .footer-bottom a {
    color: orange;
    font-weight: bold;
    text-decoration: none;
  }
  
  .social-icons img:hover {
    border-radius: 50%;
    background-color: #038378;
  }
  
  .footer-column i {
    margin-left: 8px;
    color: #3db8a9;
    transition: color 0.3s ease;
  }
  
  .footer-column a {
    color: white;
    text-decoration: none; /* نلغي الخط تحت النص */
    transition: color 0.3s ease;
  }
  
  .footer-column a:hover {
    color: #FFC300; /* تغيير اللون فقط عند الوقوف */
    text-decoration: none; /* نتأكد إنه مفيش خط */
  }
  
  
  
  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-column {
      min-width: 100%;
    }
  
    .social-icons {
      justify-content: center;
    }
  }

  /* ... الكود الأساسي الخاص بك بدون تغيير ... */

@media (max-width: 1200px) {
    .hero-text h1 {
      font-size: 3rem;
    }
  
    .hero-text p {
      font-size: 1.3rem;
    }
  
    .method-header {
      height: auto;
      flex-direction: column;
      gap: 10px;
      padding: 15px;
    }
  
    .image-stack img {
      width: 100%;
    }
  }
  
  @media (max-width: 992px) {
    .hero-text h1 {
      font-size: 2.5rem;
    }
  
    .hero-text p {
      font-size: 1.2rem;
    }
  
    .method-step,
    .method-step2,
    .method-step3,
    .method-step4,
    .method5-step,
    .method6-step,
    .method7-step,
    .method8-step {
      flex-direction: column;
      gap: 20px;
    }
  
    .step-image,
    .step-text,
    .step2-text,
    .step3-text,
    .step4-text,
    .step5-text,
    .step6-text,
    .step7-text,
    .step8-text {
      flex: 1 1 100%;
      text-align: center;
    }
  
    .image-stack img {
      width: 100%;
      height: auto;
    }
  
    .footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .footer-column {
      min-width: 100%;
    }
  
    .hero-content {
      flex-direction: column;
      text-align: center;
    }
  
    .cta-button {
      width: 70%;
    }
  }
  
  @media (max-width: 768px) {
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }
  
    .method-header h2 {
      font-size: 1.5rem;
    }
  
    .step-text h3,
    .step2-text h3,
    .step3-text h3,
    .step4-text h3,
    .step5-text h3,
    .step6-text h3,
    .step7-text h3,
    .step8-text h3 {
      font-size: 20px;
    }
  
    .step-text p,
    .step2-text p,
    .step3-text p,
    .step4-text p,
    .step5-text p,
    .step6-text p,
    .step7-text p,
    .step8-text p {
      font-size: 16px;
    }
  
    .step-image img {
      width: 100%;
    }
  
    .next-btn {
      width: 100%;
      padding: 10px;
      font-size: 1rem;
    }
  
    .cta-button {
      width: 90%;
    }
  }
  
  @media (max-width: 480px) {
    .hero-text h1 {
      font-size: 1.5rem;
    }
  
    .hero-text p {
      font-size: 0.95rem;
    }
  
    .cta-button {
      width: 100%;
      padding: 12px;
      font-size: 1rem;
    }
  
    .method-header {
      padding: 10px;
      gap: 10px;
    }
  
    .method-header h2 {
      font-size: 1.3rem;
    }
  
    .footer-bottom {
      flex-direction: column;
      text-align: center;
      gap: 10px;
    }
  }
  